package com.example.zhihu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_week_hot")
public class WeekHot implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;

    /**
     * URL
     */
    private String url;

    /**
     * 创建时间
     */
    private LocalDateTime created;

    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;

    /**
     * 标题
     */
    private String title;

    private String highlightTitle;

    private String type;

    private Integer token;

    /**
     * 是否近期热点
     */
    @TableField(value = "is_recent_hot")
    private Boolean isRecentHot;

    private Boolean haveAnswer;

    private String questionAnswerUrl;

    /**
     * 主题
     */
    private String topics;

    private String label;

    /**
     * 浏览增量
     */
    private Integer newPv;

    /**
     * 关注增量
     */
    private Integer newFollowNum;

    /**
     * 回答增量
     */
    private Integer newAnswerNum;

    /**
     * 点赞增量
     */
    private Integer newUpvoteNum;

    /**
     * 浏览总量
     */
    private Integer pv;

    /**
     * 关注总量
     */
    private Integer followNum;

    /**
     * 回答总量
     */
    private Integer answerNum;

    /**
     * 点赞总量
     */
    private Integer upvoteNum;

    /**
     * 数据更新时间
     */
    private LocalDateTime insertTime;


}
